<div id="toppanel">
    <div id="panel">
        <div class="fcontent clearfix">
            </a>	<div class="left">
            <!-- Login Form -->
            <form class="clearfix" action="login" method="post">
                <h1>Đăng nhập</h1>
                <label class="grey" for="log">Tên đăng nhập</label>
                <input class="field" type="text" name="username" id="log" value="" size="23" />
                <label class="grey" for="pwd">Mật khẩu</label>
                <input class="field" type="password" name="password" id="pwd" size="23" />
                <label><input name="remmemberme" id="rememberme" type="checkbox" checked="checked" value="1" /> &nbsp;Ghi nhớ</label>
                <div class="clear"></div>
                <input type="submit" name="submit" value="Đăng nhập" class="bt_login" />
                <a class="lost-pwd" href="login/forgotpass">Quên mật khẩu?</a>
            </form>
        </div>

            <div class="left right">
                <!-- Register Form -->
                <form action="login/register" method="post">
                    <h1>Đăng ký thành viên</h1>
                    <label class="grey" for="signup">Tên đăng nhập</label>
                    <input class="field" type="text" name="username" id="signup" value="" size="23" />
                    <label class="grey" for="email">Email:</label>
                    <input class="field" type="text" name="email" id="email" size="23" />
                    <label class="grey" for="email">Mật khẩu</label>
                    <input class="field" type="password" name="password" id="password" size="23" />
                    <label class="grey" for="email">Nhập lại mật khẩu</label>
                    <input class="field" type="password" name="repassword" id="repassword" size="23" />
                    <input type="submit" name="submit" value="Đăng kí" class="bt_register" />
                </form>
            </div>
        </div>
    </div>
<!-- /login-->

    <!-- The tab on top -->
    <div class="ftab">
        <ul class="login">
            <li>Hello <a href="{__SERVER}/member"> {username}</a>!</li>
            <li class="sep">|</li>
            <li id="toggle">
                <a id="close" class="open" href="{__SERVER}/member/logout">Đăng xuất</a>
                <a id="close" style="display: none;" class="close" href="#">Đóng</a>
            </li>
        </ul>
    </div>
<!-- / top -->

</div> <!--panel -->
